package com.aos.erp.manager.remote.model;

import com.aos.erp.manager.enums.DelStatus;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@ApiModel("消息模板")
public class MessageTemplateInfo implements Serializable {

    @ApiModelProperty(value="模板ID",hidden=true)
    private long id = 0;
    @ApiModelProperty(value="模板编号",hidden=true)
    private String mtCode = "";
    @ApiModelProperty(value="模板标题",hidden=true)
    private String mtTitle = "";
    @ApiModelProperty("是否删除：del_no为未删除；del_yes为已删除")
    private DelStatus isDel = DelStatus.del_no;
    @ApiModelProperty(value="创建人",hidden=true)
    private String createUser = "";
    @ApiModelProperty(value="创建时间",hidden=true)
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    @ApiModelProperty(value="修改人",hidden=true)
    private String updateUser = "";
    @ApiModelProperty(value="修改时间",hidden=true)
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

}
